package com.gitee.freakchicken.dbapi.basic.conf;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import java.util.ArrayList;
import java.util.List;

@Configuration
public class C_szhhVu4g implements WebMvcConfigurer {

    @Autowired
    C_7v4eIzSp gf_vfPxXNiz;

    @Override
    public void addInterceptors(InterceptorRegistry p_L9Hms95I) {
        List<String> lf_lJwVcf1u = new ArrayList<>();
        lf_lJwVcf1u.add("/user/login");
        lf_lJwVcf1u.add("/token/generate");
        lf_lJwVcf1u.add("/access/**");
        lf_lJwVcf1u.add("/js/**");
        lf_lJwVcf1u.add("/css/**");
        lf_lJwVcf1u.add("/fonts/**");
        lf_lJwVcf1u.add("/index.html");
        lf_lJwVcf1u.add("/error");
        p_L9Hms95I.addInterceptor(gf_vfPxXNiz).excludePathPatterns(lf_lJwVcf1u).addPathPatterns("/**");
    }
}
